This research introduces an innovative and functional nomogram that utilizes the NLR, age of 65 years or older, TNF-α, and D-Dimer concentrations to accurately forecast the likelihood of developing postoperative UTI following intracranial hemorrhage. The gene discussed is TNF; the disease is bacterial urinary tract infection.