Corby Town slumped to their 14th home league defeat of the season as they ended a frustrating campaign on a woeful note.
But results elsewhere mean they will be playing Blue Square Bet North football again next year.
The first half was often scrappy and it was 15 minutes before either side managed shot on goal as Lee Elam’s shot for Harrogate was tipped over by the keeper.
Elam was close again for the visitors on 28 minutes, seconds after Jordan Smith had warmed the hands of the Harrogate keeper at the other end.
Corby only threatened occasionally but did go close on 29 minutes when Phil Gulliver’s head was cleared off the line.
Both sides then might have scored on the stroke of half-time but Tom Platt volleyed wide for Harrogate while Gary King’s shot was saved for the Steelmen.
However, three minutes after the break, Harrogate took the lead when Nick Bennion could only flap at a corner and Richard Pell drove the ball home through a crowd of legs.
And Bennion was at fault again for Harrogate’s second on 52 minutes as he allowed Paul Bolland’s 25-yard shot to go straight through his hands into the back of the net.
The quick-fire double ensured the Yorkshire side would be safe from relegation and they made sure of it when Pell headed home his second on 71 minutes.
And a miserable end to the season for Corby was completed when Jonny Allan stroked home a fourth for Harrogate on 87 minutes before Tom Platt rifled home the fifth with the final act of the season.
Corby: Bennion; Gordon, Gulliver, Malone, Mayo; Hall (sub Jones, 62 mins), Hibbert (sub Ozmen, 65 mins), Towers, McGowan (sub Amory, 65 mins); King, Smith. Subs not used: Farden, Mullarkey.
Harrogate: Cook; Bloomer, Pell, White, Radcliffe; Dean, Bolland, Platt, Elam; Allan, Meechan. Subs not used: Youhill, Nowakowski, Brayson, Burns, Chilaka.
Referee: Wayne Porter
Goals: Pell (48 mins, 0-1), Bolland (52 mins, 0-2), Pell (71 mins, 0-3), Allan (87 mins, 0-4), Platt (90 mins, 0-5).
Cards: King (foul).