Nanostructured materials characterized by high surface-volume ratio hold the promise to constitute the active materials for next-generation sensors. Solution-processed hybrid organohalide perovskites, which have been extensively used in the last few years for optoelectronic applications, are characterized by a self-assembled nanostructured morphology, which makes them an ideal candidate for gas sensing. Hitherto, detailed studies of the dependence of their electrical characteristics on the environmental atmosphere have not been performed, and even the effect of a ubiquitous gas such as O has been widely overlooked. Here, the electrical response of organohalide perovskites to oxygen is studied. Surprisingly, a colossal increase (3000-fold) in the resistance of perovskite-based lateral devices is found when measured in a full oxygen atmosphere, which is ascribed to a trap healing mechanism originating from an O -mediated iodine vacancies filling. A variation as small as 70 ppm in the oxygen concentration can be detected. The effect is fast (<400 ms) and fully reversible, making organohalide perovskites ideal active materials for oxygen sensing. The effect of oxygen on the electrical characteristics of organohalide perovskites must be taken into deep consideration for the design and optimization of any other perovskite-based (opto-) electronic device working in ambient conditions.