ABSTRACT: OBJECTIVE:Obstruction release from urolithiasis can be delayed with a lack of suggested time for preventing the deterioration of renal function. The objective of this study was to investigate the effect of obstruction duration, concomitant acute kidney injury (AKI) or acute pyelonephritis (APN) during the obstruction on the prognosis of renal function. DESIGN:Retrospective cohort study. SETTING AND PARTICIPANTS:1607 patients from a urolithiasis-related obstructive uropathy cohort, between January 2005 and December 2015. OUTCOME MEASURES:Estimated glomerular filtration rate (eGFR) decrease ?30% and/or end-stage renal disease (ESRD), and eGFR decrease ?50% and/or ESRD, according to obstruction duration, AKI and APN accompanied by obstructive uropathy. RESULTS:When the prognosis was divided by obstruction duration quartile, the longer the obstruction duration the higher the probability of eGFR reduction >50% (p=0.02). In patients with concomitant APN or severe AKI during hospitalisation with obstructive uropathy, an eGFR decrease of >30%?and >50% occurred more frequently, compared with others (p<0.001). When we adjusted for sex, age, hypertension, diabetes mellitus, APN, AKI grades and obstruction release >7 days for multivariate analysis, we found that concomitant APN (HR 3.495, 95%?CI 1.942 to 6.289, p<0.001), concomitant AKI (HR 3.284, 95%?CI 1.354 to 7.965, p=0.009 for AKI stage II; HR 6.425, 95%?CI 2.599 to 15.881, p<0.001 for AKI stage III) and an obstruction duration >7 days (HR 1.854, 95%?CI 1.095 to 3.140, p=0.001) were independently associated with an eGFR decrease >50%. Tree analysis also showed that AKI grade 3, APN and an obstruction duration >7 days were the most important factors affecting renal outcome. CONCLUSIONS:In patients with urolithiasis-related obstructive uropathy, concomitant APN was strongly associated with deterioration of renal function after obstruction release. The elapsed time to release the obstruction also affected renal function.