The three points enables the Millers to leapfrog the Mariners in the league table.
On a blustery afternoon, it was a typically end-of-season game between two poor sides.
But for all their much-publicised troubles, Rotherham showed great spirit and for that alone they deserved to take the points.
The goal on 40 minutes was in keeping with the match. Young defender Ryan Bennett failed to control an awkward long ball and striker Ryan Taylor nicked in to shoot in off both posts.
For the second half Grimsby brought on nippy striker Andy Taylor and midway through the second period introduced fellow frontman Gary Jones, but it had little effect.
Grimsby enjoyed the greater share of the possession, but a tide of yellow shirts behind the ball meant they were never able to get into shooting positions.
For Rotherham, although the future is uncertain, there is clearly no lack of spirit among their players and a good bond between them and the supporters who clearly relished their day out by the seaside.