What is the difference between period pain and kidney infection?

Pyelonephritis. Kidney infection (pyelonephritis) is more likely to be experienced in your back near the spine and where the bottom rib is found, also may have fever. If you have a reason to worry about this, go see a doctor now: you can't diagnose this online.