Calculous pyonephrosis tended not to be accurately diagnosed before operations. It is mostly confirmed during percutaneous nephrolithotripsy or percutaneous nephrostomy. We aimed to evaluate the risk factors for predicting obstructive pyonephrosis patients with upper urinary tract stones.