idiosyncrasy
A person’s odd little habit that makes them unique.
An idiosyncrasy is a quirky habit, unusual preference, or peculiar way of doing something that makes a person distinctive. Everyone has idiosyncrasies: maybe your friend always eats pizza crust first, or your teacher taps the whiteboard exactly three times before writing, or your grandfather insists on buttering his toast in a precise spiral pattern.
These little peculiarities aren't wrong or bad, just different from what most people do. One student might have the idiosyncrasy of arranging her desk supplies by color every morning. Another might always tie his right shoe before his left, or refuse to use mechanical pencils. Your own idiosyncrasies might seem completely normal to you, while others find them charmingly unusual.
Writers often give characters memorable idiosyncrasies to make them feel real and interesting. Think of Sherlock Holmes playing his violin at odd hours, or Albert Einstein rarely wearing socks.
While idiosyncrasies can seem strange to others, they're part of what makes each person an individual. The key difference between an idiosyncrasy and just being difficult is that idiosyncrasies are harmless personal quirks, not demands that inconvenience everyone else.