A nanocomposite of tannic acid and cellulose nanowhiskers (CNW)-reinforced polysulfone (PSF) was used to develop a metallochromic nanofibrous membrane sensor for iron(III) in aqueous media. Tannic acid was used as an active detecting probe, whereas the CNW@PSF composite was employed as a hosting material. Cellulose nanowhiskers (7–12 nm) were obtained from microcrystalline cellulose (MCC). According to the coloration parameters, a bathochromic shift from colorless (415 nm) to purple (561 nm) occurs when ferric cations bind to the phenolic hydroxyls of the tannic acid probe. The concentration of ferric was found to be directly correlated to the extent of the color change, demonstrating a detection limit of 0.1–250 ppm. This could be attributed to the creation of a coordinative complex between ferric ions and phenolic tannic acid. The generated nanofibers were inspected by energy-dispersive X-ray (EDX) and scanning electron microscopy (SEM). The electrospun nanofibrous membrane showed an average diameter between 75 and 150 nm. The tannic acid-containing nanofibers are remarkably reusable and simple. The tannic acid-encapsulated polysulfone nanofibrous membrane was used to detect various metal ions, demonstrating a high selectivity for Fe3+. The ideal pH range for the identification of Fe3+ was determined to be in the range of 4.25–6.75.