Dehydration can contribute to kidney pain. When the body is dehydrated, the kidneys may not function optimally, leading to discomfort or pain in the kidney area.