A mounting apparatus for holding an expansion card with a slot cover, the mounting apparatus comprises a rear panel and a fastener. The rear panel defines a slot, and forms a holder above the slot. The holder forms a pivoting axis at a free end thereof, and the pivoting axis is in parallel with the rear panel. The fastener is pivotably attached to the pivoting axis, and comprises a pressing portion pressing the slot cover to the holder and a locking portion locked to the rear panel.