However, the money the man allegedly took has not yet been found, police said.
Franklin Dale Keefer, 28, of 50 Summit Ave., Apt. 607, was taken into custody by police Tuesday afternoon, Sgt. Jim Hurd said.
Police found Keefer walking into the Dagmar hotel, where his apartment is, a little more than an hour after the robbery took place, he said.
Hurd said police identified Keefer as a suspect after showing an array of photographs to the victims.
Keefer has been charged with felony robbery and felony theft of more than $1,000, Hurd said. He is being held at the Washington County Detention Center.
The robbery occurred at about 11:18 a.m. Tuesday. A white man in his 20s, wearing a white T-shirt and a knit-style hat, entered the bank and announced a robbery, Hagerstown police Lt. Paul Kifer said.
The man, who did not brandish or mention a weapon, made his way behind the counter, where he took some cash, Kifer said.
Hurd said $3,500 was taken.
Police are still investigating the incident. At present, they are not looking for any additional suspects, Hurd said.
The man left the bank at the corner entrance near the Washington County Courthouse and fled west on West Washington Street by foot, Kifer said.
No one was injured, he said.
A Maryland State Police bloodhound was taken into the bank, and, when taken back outside, it took off at a run west on West Washington Street.
Police and another K-9 unit from Hancock joined in the search, following the bloodhound.
The dog tracked a scent about a block west on Washington Street, then north to the intersection of Prospect and Church streets, but lost the scent there, Kifer said.
Police checked nearby businesses and reviewed security camera images from businesses in that area, Kifer said.