Anthony Stallard pleaded guilty at Portsmouth Magistrates' Court to using threatening or abusive words or behaviour likely to cause distress by 'throwing his arms in the air and saying woooooo'.
The court heard that the 24-year-old had been out drinking with friends when they went to Kingston Cemetery in Portsmouth in the UK where they started to play football.
A Hampshire police spokesman said that witnesses complained to police of Stallard using rowdy and drunken behaviour and pretending to be a ghost.
He said: "The witnesses reported the group engaging in rowdy behaviour and one of them throwing their arms in the air and saying 'woooooo'."
Stallard, of Alverstone Road, Southsea, Hampshire, was fined £35 and ordered to pay a £20 victim surcharge and £20 in costs.
A charge of causing criminal damage to the gravestones against Stallard was dismissed.