The New York Times plans to eliminate about 100 newsroom jobs, as well as a smaller number of positions from its editorial and business operations, offering buyouts and resorting to layoffs if enough people do not leave voluntarily, the newspaper announced on Wednesday.

Arthur Sulzberger Jr., the newspaper’s publisher, and Mark Thompson, its chief executive, said that in addition to the job cuts, NYT Opinion, a mobile app dedicated to opinion content, was shutting down because it was not attracting enough subscribers.

The reductions, they said, were intended to safeguard the newspaper’s long-term profitability.

“The job losses are necessary to control our costs and to allow us to continue to invest in the digital future of The New York Times, but we know that they will be painful both for the individuals affected and for their colleagues,” the announcement said.

The Times’s executive editor, Dean Baquet, sent a separate note to the newsroom staff. “I will use this as an opportunity to seriously reconsider some of what we do — from the number of sections we produce to the amount we spend on freelance content,” he said.