At a CVS store near Times Square, the shelves are notable for what they no longer display: cigarettes. Now the only smoking products to be found are those that could help customers quit.

As of midnight on Tuesday, all 7,700 CVS locations nationwide will no longer sell tobacco products, fulfilling a pledge the company made in February, as it seeks to reposition itself as a health care destination.

The rebranding even comes with a new name: CVS Health.

The decision to stop selling cigarettes is a strategic move as pharmacies across the country jockey for a piece of the growing health care industry. Rebranding itself as a company focused on health could prove lucrative for the drugstore as it seeks to appeal to medical partners that can help it bridge the gap between customers and their doctors.

“CVS is really trying very hard to position themselves as the winner in that marketplace,” said Skip Snow, a health care analyst at Forrester Research. “If they can be perceived as a place to go to receive health care, and buy health care products, as opposed to the place to go to buy a bottle of whiskey or get your film developed, then they can capture more of the retail medicine dollars.”