Wrexham were never behind but did see a 3 - 0 lead turn into a 4 - 3 lead before Mark Jones completed the scoring to make it 5 - 3.
Wrexham were hit by a blow when Steve Evans damaged ligaments that will see him miss the tour to Northern Ireland and could see him miss the start of the season. Evans had earlier scored one of Wrexham's goals.
Newtown: Dave Jones (Danny Jones 56), Craig Williams (Dan March 75), Damien Daniels (Gareth Watkins 46), Hugh Clarke (Gary Price 43), Danny Jellicoe, Richard Williams-Cooke (Dan Griffiths 75), Sean Butler (Rob Dean 46), Glenn Tolley (Tom Griffin 56), Craig Moses, Marc Lloyd Williams, Adam Worton (Kevin Scott 46).
Wrexham: Anthony Williams, Gareth Evans, Mike Williams (Lee Jones 73), Chris Marriott, Steve Evans (Levi Mackin 89), Danny Williams (Wes Baynes 76), Josh Johnson, Mark Jones, Chris Llewellyn (Jamie Reed 69), Marc Williams, Matty Done (Robin Kacaniklic 60).
Sub: Michael Jones.
Match report from official website here.