WASHINGTON — A global arms race for a coronavirus vaccine is underway.

In the three months since the virus began its deadly spread, China, Europe and the United States have all set off at a sprint to become the first to produce a vaccine. But while there is cooperation on many levels — including among companies that are ordinarily fierce competitors — hanging over the effort is the shadow of a nationalistic approach that could give the winner the chance to favor its own population and potentially gain the upper hand in dealing with the economic and geostrategic fallout from the crisis.

What began as a question of who would get the scientific accolades, the patents and ultimately the revenues from a successful vaccine is suddenly a broader issue of urgent national security. And behind the scramble is a harsh reality: Any new vaccine that proves potent against the coronavirus — clinical trials are underway in the United States, China and Europe already — is sure to be in short supply as governments try to ensure that their own people are the first in line.

In China, 1,000 scientists are at work on a vaccine, and the issue has already been militarized: Researchers affiliated with the Academy of Military Medical Sciences have developed what is considered the nation’s front-runner candidate for success and is recruiting volunteers for clinical trials.

China “will not be slower than other countries,” Wang Junzhi, a biological products quality control expert with the Chinese Academy of Sciences, said Tuesday at a news conference in Beijing.