It happened at the 7-Eleven in the 1000-block of West Patrick Street Thursday night.
The men were able to get away with cash.
No one was injured.
Both suspects are described as black males with thin builds and were wearing dark hooded sweatshirts and masks.
Anyone with information on the crime is asked to call police at 301-600-6388.