An image forming apparatus includes a cover and a supporting unit. The
supporting unit includes a holding member, a supporting member, a first
biasing unit, and a positioning unit. The holding member holds the
transferring member. The supporting member movably supports the holding
member, so that the transferring member can move toward or away from a
specific member arranged in the main body. The first biasing unit biases
the transferring member toward the specific member. When the cover is in
a closed state, the transferring member is pressed against the specific
member. The positioning unit performs positioning of the supporting
member with respect to the main body.