Mekseb Debesay and Ben O’Connor also finished in the top 10 overall while Gibbons secured the teal sprinters jersey.
The final stage came down to a small peloton of just 40 riders sprinting for the stage win.
Team Dimension Data had all six of its riders in this reduced group, with yellow jersey wearer Gibbons, the protected rider once again.
The stage win went to Travis McCabe (United Healthcare), Anthony Giacoppo (IsoWhey Sports) was second and Riccardo Stacchiotti (Nippo-Vini Fantini) placed third.
Gibbons placed fourth in the final stage sprint finish which was enough to ensure the South African won both the yellow leaders jersey and teal sprinters jersey overall.
Gibbons was able to secure both jerseys after consistent performances over all eight stages, placing outside of the top 10 just twice in eight days of racing, including his stage five win.
“I am incredibly happy to have won the Tour de Langkawi overall. Being as ambitious as I am, I’m slightly disappointed to not have won today’s final stage,” said Gibbons.
“I was on the wheels of the Wilier riders through the final corner and those were just the wrong guys to be following today. But yes, I am really happy to win the yellow jersey, obviously it is the first of my career and I owe it to the amazing support of the team.”