Why do your hands hurt when you wake up?

Maybe because you have been tossing and turning all night on top of your hand or maybe when you are asleep, you might accidentally hit something and feel the actual pain when you attempt to get up in the morning. Maybe that is why.