Matty Taylor hit a hat-trick as Chester held on to win a classic seven-goal Conference Premier relegation battle.
Taylor struck his first two either side of John Rooney's stunning 25-yarder as City scored three times in 10 first half minutes.
Matt Godden pulled one back for the Lambs just before the break.
Taylor's third should have settled it, but Tamworth fought back, Godden netting a second before Richard Peniket's late goal.
Tamworth should have led when the unmarked Godden blazed over Nick Chadwick's low cross from 10 yards.
- Chester have now won four times in eight matches since Steve Burr took over on 18 January. Prior to that, they had managed just four wins in their first 25 games of the season.
- Matty Taylor has netted five goals in as many games since being signed on loan from Forest Green Rovers for the rest of the season on January deadline day.
Chester made them pay when Rooney set up Taylor's 23rd-minute opener.
Rooney then curled home a fine left-foot strike before Gareth Seddon flicked on for Taylor to make it 3-0.
Godden atoned for his earlier miss when he touched home from six yards.
But Taylor restored Chester's three-goal lead when he drilled home following an exquisite lofted pass from the artful Rooney.
Tamworth substitute Jesse Reindorf's late introduction fired up the home side, who netted through Godden and a drilled low shot from Peniket, but Chester held on to climb two points clear of trouble.
Chester manager Steve Burr told BBC Sport:
"It's a massive three points. Some of the stuff we played tonight was excellent.
"We knew they'd bombard us. They're in the same position as us and I thought it would be tough and the big lad (Reindorf) caused us some problems when he came on.
"But really I thought we might have scored more goals. Matty Taylor took his goals well, while John Rooney's was superb and he was close with a couple of other efforts."
- 01 Belford
- 02 Evans
- 04 Townsend (Todd - 38' )
- 06 Richards-Everton
- 34 Keane
- 24 Fenton Booked
- 32 Mahon Booked
- 29 Hildreth Booked (Reindorf - 71' Booked )
- 17 Peniket
- 14 Godden
- 28 Chadwick (Haworth - 15' )
- 25 Haworth
- 27 Baker-Richardson
- 20 Todd
- 05 Reindorf
- 07 Kerry
- 31 Chapman
- 17 Brown
- 12 Turner
- 27 Killock
- 05 Linwood
- 24 Rooney
- 21 Mahon (Menagh - 70' )
- 16 Bond
- 08 Jarrett
- 19 Seddon
- 10 Taylor
- 01 Danby
- 09 Mainwaring
- 34 Menagh
- 20 Daniels
- 11 Lindfield
Ref: Darren Handley