For the noun meaning a ghostly apparition or a haunting or disturbing image, American writers use specter. Everywhere else, spectre is the preferred spelling.
Related
Both spellings are several centuries old, but spectre prevailed everywhere until the middle 20th century, when the American-style spelling became prevalent in American English. Today, that spelling is also gaining ground in British English, but spectre is still far more common.
Examples
American publications use specter—for example:
On the negative side, a writer again tries to scare old people with a phony specter of “death panels.” [The Spokesman Review (U.S.)]
A major drop in the city’s population since the 2000 Census had raised the specter of the city losing one of its six Senate seats. [Washington Post]
But today, a specter is haunting America: A sense that we will no longer be THE dominant world power. [CBS News (U.S.)]
And spectre is preferred everywhere else—for example:
Reading were staring the spectre of relegation square in the eyes … [Reading Post (U.K.)]
Yes, there was the spectre of deflation anew, which hurt asset prices. [Sydney Morning Herald]
The spectre of a two-tier or even three-tier union has long hovered over Europe. [Globe and Mail (Canada)]
Ngram
This Ngram charts the use of specter and spectre in British books published between 1800 and 2000:

And this Ngram charts the words’ use in American books:


