Background/Objectives: The rising prevalence of extended-spectrum beta-lactamase (ESBL)–producing pathogens has emerged as a significant challenge in the treatment of pyelonephritis. This study aimed to determine the frequency of ESBL-producing agents in hospitalized patients with pyelonephritis, identify associated risk factors, and assess the appropriateness of empirical antimicrobial therapy. Methods: This prospective study included patients hospitalized with pyelonephritis in the Infectious Diseases Clinic of Ankara Training and Research Hospital between October 1, 2022, and February 29, 2024. Demographic features, comorbidities, urinary system pathologies, history of urinary tract interventions, recent hospitalization, antibiotic use within the previous three months, and prior urinary tract infections were compared between patients infected with ESBL-producing and non-ESBL-producing organisms. Antimicrobial susceptibility pro-files and the appropriateness of empirical treatments were evaluated. Statistical analyses were performed using SPSS version 25.0, with p< 0.05 considered statistically significant. Results: Escherichia coli (n=142) and Klebsiella spp. (n=43) were isolated in 180 of 204 patients. ESBL positivity was detected in 95 patients (52.7%). Male sex (p=0.007), history of urinary intervention (p=0.019), hospitalization within the previous month (p< 0.001), and antibiotic use in the last three months (p=0.002) were identified as significant risk factors for ESBL positivity. ESBL production was not associated with prolonged hospitalization; however, bacteremia significantly increased length of stay (p< 0.001). Antimicrobial susceptibility rates were markedly lower in the ESBL-positive group. The appropriateness of empirical therapy was also significantly reduced, with piperacillin–tazobactam being the most frequently inappropriate agent due to high resistance rates and unnecessary broad-spectrum use. Conclusions: ESBL-producing pathogens were highly prevalent among hospitalized patients with pyelonephritis. The low appropriateness of empirical therapy in ESBL-positive cases underscores the need for careful evaluation of ESBL risk factors prior to treatment initiation, as ESBL rates may approach 50%.