Djokovic ahead 5-2.The 34 year old Djokovic struck a crosscourt backhand winner to set up a set point before Shapovalov double-faulted to drop the set.
Then serving in set two at 5 all 30-40, the Canadian struck another unfortunate double-fault to drop his serve and trail 5-6.
Serving at set point, Djokovic struck an ace out wide to hold serve and take a two sets to none lead.
In the final set, Djokovic continued to showcase his defensive skills as he ran down several difficult balls to break serve at 5 all.
Serving for the match, Djokovic struck a crosscourt forehand volley winner to lead 15-0.
Shapovalov then faced match point after committing two backhand errors.
Djokovic struck an ace out wide to finish the one hour long set.
This year's Wimbledon semifinal showing from Shapovalov is his best career grand slam singles result.
In 2016, Shapovalov won the junior Wimbledon singles title.
Shapovalov, currently ranked 10 on the professional men's tennis tour, is scheduled to compete next week in Toronto, Canada.