City made it nine wins from nine matches under Pep Guardiola course of a 2-1 result in the third round of the league cup at the Liberty Stadium.
It took the visitors until early in the second half to get going after a very quiet opening 45 minutes in South Wales and it was an unlikely source who managed to give City the lead.
That was the moment City needed to kick on and they went two ahead on 67 minutes when 19-year-old Aleix Garcia opened his City scoring account with a neat first-time finish from Jesus Navas' cut-back to the penalty spot.
During the encounter, there were a couple of defensive errors from City, namely with Willy Caballero's distribution letting him down when Borja Baston flashed over in the first half before John Stones took a very heavy touch which saw Gylfi Sigurdsson fire straight into the City keeper from close range.
There was to be some late drama as Swansea hit back in injury-time through Sigurdsson who was on hand to finish a driving cross from Modou Barrow before the youngster had a header on goal which was flagged offside, prior to the final whistle sounding.
It was a never end for City but they got the job done in the end and will press on to the next round of the league cup as they strive to defend their title.
2016/17 EFL Cup - third round