Michael Owen scored his first goal of the season to help Newcastle see off Barnsley in the Carling Cup.
Owen celebrates after ending his long scoring drought for Newcastle
The England striker ended a 20-month wait since his last competitive goal for his club when he met Shola Ameobi's pass and fired home.
Barnsley were second-best throughout and Nicky Butt and Ameobi both had chances to extend Newcastle's lead.
Obafemi Martins came on for Owen with seven minutes left and sealed victory with an acrobatic volley.
Newcastle: Given, Jose Enrique, Cacapa, Taylor, N'Zogbia, Solano, Geremi, Smith (Edgar 87), Emre (Butt 51), Owen (Martins 83), Ameobi.
Subs Not Used: Harper, Huntington.
Goals: Owen 57, Martins 86.
Barnsley: Muller, Werling, Souza, Nyatanga, Kozluk, Ricketts, McCann, Mostto (Christensen 76), Togwell, Devaney (Butterfield 87), Mattis (Coulson 83).
Subs Not Used: Colgan, Atkinson.
Booked: Devaney, Werling.
Ref: Graham Salisbury (Lancashire).