Using a novel all-optical approach in awake mice, we found that the olfactory bulb acts as a rapid temporal filter. It opens a brief window for early signals before inhibition kicks in, which creates a concentration-invariant representation and decorrelates the patterns from different odors.