Key words: fi bre optic sensor, evanescent wave, layer-by-layer adsorption, porphyrin, ammonia A layer-by-layer approach was used for the deposition of coatings with a nanometre thickness onto a multimode optical fi bre, from which the cladding had been removed, with the aim of realizing a fi bre optic ammonia sensor. The fi lm was self-assembled with alternate layers of tetrakis-(4-sulfophenyl) porphine (TSPP) and poly(diallyldimethyla mmonium chloride) (PDDA). The exposure of the assembled fi lm to ammonia induced optical changes in the transmission spectrum of the coated optical fi bre, refl ecting the characteristic absorption bands (Soret and Q bands) of the assembled TSPP compound. The fi bre optic sensor showed a linear sensitivity to ammonia in the concentration range of 0.1-20 ppm and the response and recovery times were less than 3 min with a limit of detection of 0.9 ppm at 706 nm.