A homeless man was accused of robbing a string of banks for the second time in 14 months, police said.

Spencer Heelan was arrested about an hour after police say he robbed a Toronto-Dominion Bank –– his sixth of the week –– at 655 Avenue of the Americas Friday around 2:40 p.m., authorities said.

Heelan allegedly saved the majority of his crime spree for Tuesday, when he hit five banks, cops said.

In each case, the 32-year-old slipped a note to the bank teller, requesting cash, cops said.

But he wasn’t very successful, managing to snag a total of $900 from just two of the six locations, cops added.

Heelan, who was taken in for psychiatric evaluation, allegedly had a crack pipe on him when he was arrested.

This was not his first brush with the law –– Heelan was arrested in August 2018 for robbing six banks, police said.