Why do i get a pain in the middle toes of my right foot when in bed at night?
I wonder if the muscles arround those toes could just be cramping up for some reason. Muscle cramps are not uncommon at night. You might give that area a good massage and maybe some heat before you go to bed - that often helps for nightime muscle cramps.
If it was your big toe and it was red and swollen you'd immediately think gout. Morton's neuroma - which is from a callus that compresses the nerves - effects the middle toes. Most description don't say so but it seems more likely to cause pain when you're standing. Peripheral neuropathy can cause painful sensations in the toes as well. (You're not diabetic are you?)
I looked around the web and there seem to be quite a few accounts of mysterious toe pain at night. I think you're have to see a doctor to figure this out.
Meanwhile you might want to check out the check a symptom box on the upper left hand of the page. It'll guide you through your symptoms and may give you an idea of what's going on. Good luck with the toe pain