An image forming apparatus in which an exchange part (12Bk, 12Y, 12M, 12C) having an identification information storing portion for storing identification information or an exchange part having no identification information storing portion for storing identification information is furnished being attachable and detachable, comprising: an identification information obtaining process section (41, 31Bk, 31Y, 31M, 31C) configured to obtain identification information of said exchange part from said identification information storing portion of the exchange part; an operation allowing process section configured to allow normal image formation or limited image formation which is restricted further in comparison with said normal image formation based on said identification information obtained by said identification information obtaining process section; and a non-volatile memory for storing an operation allowance flag (43Bk, 43Y, 43M, 43C) corresponding to the exchange part, the image forming apparatus being configured to set the operation allowance flag to an operation allowance state during an initialization process; wherein said operation allowing processing section is configured: to allow said normal image formation when said exchange part having an identification information storing portion is attached to the image forming apparatus; to allow said normal image formation when said exchange part having no identification information storing portion is attached to the image forming apparatus and said operation allowance flag is set to said operation allowance state; to allow said limited image formation when said exchange part having no identification information storing portion is attached to the image forming apparatus and said operation allowance flag is set to a print non-allowance state; wherein said operation allowing process section has a counting portion to count a predetermined operation after an initialization process of the image forming apparatus is performed; and wherein said operation allowing processing section is configured to, when a count value of said counting portion meets a predetermined condition, set said operation allowance flag (43Bk, 43Y, 43M, 43C) to said print non-allowance state. an identification information obtaining process section (41, 31Bk, 31Y, 31M, 31C) configured to obtain identification information of said exchange part from said identification information storing portion of the exchange part; an operation allowing process section configured to allow normal image formation or limited image formation which is restricted further in comparison with said normal image formation based on said identification information obtained by said identification information obtaining process section; and a non-volatile memory for storing an operation allowance flag (43Bk, 43Y, 43M, 43C) corresponding to the exchange part, the image forming apparatus being configured to set the operation allowance flag to an operation allowance state during an initialization process; wherein said operation allowing processing section is configured: to allow said normal image formation when said exchange part having an identification information storing portion is attached to the image forming apparatus; to allow said normal image formation when said exchange part having no identification information storing portion is attached to the image forming apparatus and said operation allowance flag is set to said operation allowance state; to allow said limited image formation when said exchange part having no identification information storing portion is attached to the image forming apparatus and said operation allowance flag is set to a print non-allowance state; to allow said normal image formation when said exchange part having an identification information storing portion is attached to the image forming apparatus; to allow said normal image formation when said exchange part having no identification information storing portion is attached to the image forming apparatus and said operation allowance flag is set to said operation allowance state; to allow said limited image formation when said exchange part having no identification information storing portion is attached to the image forming apparatus and said operation allowance flag is set to a print non-allowance state; wherein said operation allowing process section has a counting portion to count a predetermined operation after an initialization process of the image forming apparatus is performed; and wherein said operation allowing processing section is configured to, when a count value of said counting portion meets a predetermined condition, set said operation allowance flag (43Bk, 43Y, 43M, 43C) to said print non-allowance state.