To provide an image forming apparatus that can change a filter according to the type of odor.SOLUTION: An image forming apparatus 100 comprises a storage unit 121, a first detection unit 126, a deodorization unit 230, and a control unit 21. The storage unit 121 stores a sheet P. The first detection unit 126 can detect odor. The deodorization unit 230 deodorizes a plurality of types of odor. The control unit 21 controls the deodorization unit 230. The first detection unit 126 is located in the storage unit 121. The deodorization unit 230 includes a plurality of filters 130 and a moving unit 233. The plurality of filters 130 respectively deodorize the plurality of types of odor. The moving unit 233 moves one or more filters 130 of the plurality of filters 130. The control unit 21 selects at least one filter 130 from the plurality of filters 130 based on the type of odor. The moving unit 233 moves the selected filter 130 to an odor exhaust route XX.SELECTED DRAWING: Figure 2【課題】臭気の種類に応じてフィルターを変更できる画像形成装置を提供する。【解決手段】画像形成装置100は、収容部121と、第1検出部126と、消臭部230と、制御部21とを備える。収容部121は、用紙Pを収容する。第1検出部126は、臭気を検出できる。消臭部230は、複数種類の臭気を消臭する。制御部21は、消臭部230を制御する。第1検出部126は、収容部121に位置する。消臭部230は、複数のフィルター130と、移動部233とを含む。複数のフィルター130は、複数種類の臭気をそれぞれ消臭する。移動部233は、複数のフィルター130の内の1つ以上のフィルター130を移動する。制御部21は、臭気の種類に基づいて、複数のフィルター130から少なくとも1つのフィルター130を選択する。移動部233は、選択したフィルター130を臭気の排気経路XXに移動する。【選択図】図2