Kane zipped a pass to Toews in the crease and the Chicago captain poked it past the scrambling Niemi, putting the Blackhawks ahead for good at 3-2.
Viktor Stallberg also notched a goal and an assist, while Dave Bolland and Andrew Shaw each found the net for Chicago, which grabbed a two-point lead atop the Central Division standings.
Corey Crawford earned the victory with 21 saves. Niemi turned aside 36-of-40 shots for the Pacific Division-leading Sharks.
Millions of Getty images now available for free via embed tool
Boston schools pull out free condoms over wrapping complaints