The present invention relates to a composition for preventing odors containing odorless microorganisms or a culture thereof. The present invention also relates to a method for preventing odors including coating the composition for preventing odors. When a biofilm is formed by coating an object offensive odor-generating microorganisms can inhabit with the composition for preventing odors of the present invention, odors can be effectively prevented by significantly preventing the inflow and inhabitation of outside microorganisms that may generate offensive odors.