It came as a surprise to me--I work in a sharps industry! So proper disposal of used needles and pins is important to everyone.
I like decorative salt and pepper shakers for most needle disposal. Or actually storage until full and then disposal in something less exciting! If you have clear shakers, you can see the used needles and pins and they really are quite pretty.
Or you could be lucky enough to be gifted an antique shaker like that shown in the middle. It has a tiny cork in the bottom!
For those of us who use a bit larger-headed pin, opening the shaker to get the pin inside is a royal pain. So I use a grated cheese shaker! The larger holes in the head (not to be confused with the larger holes in MY head!) allow pin heads (an entirely different story) to pass through easily. Each of these containers will hold many pins and needles.
When any of these get full, I will transfer the sharps to a medicine bottle with a tight lid and dispose of them properly. And start filling again!
These shakers are quite addicting. I have one just about any place that I sew. Give them a try!
P.S. The red and white quilt behind the shakers is from 1865, is hand pieced and hand quilted and has never been washed. It is worn and there are spring marks on one side and a bit of fading. But what a find. I love to display it, especially at Christmas.