A 14-year-old suspect in the fatal stabbing of Tessa Majors is in police custody, a high-ranking NYPD official told The Post on Thursday.

But the teen was later released without charges.

The unidentified teen was nabbed by detectives in The Bronx before 8 a.m., the source said.

It’s unclear if the break in the case was the result of a tip, or if the teen — who was taken to the 26th Precinct in Harlem — had been joined there by a parent or guardian.

Asked if cops planned to charge the teen, the source said only, “They’re proceeding with the investigation.”

The teen is being represented by a lawyer and is not expected to agree to be questioned, said another source familiar with the investigation.

“Since he has a lawyer, he’s not going to give anything up,” the source said.

Instead, detectives plan to obtain a sample of his DNA and try to match it with evidence from Majors’ grisly, Dec. 11 slaying in Morningside Park, after which he will have to be released, the source said.

The developments came after Chief of Detectives Rodney Harrison tweeted cryptically that the suspect had been “located.”

“We have located this individual. Thank you to everyone who reached out with information,” Chief of Detectives Rodney Harrison wrote Thursday morning.

The teen is suspected of stabbing Majors, an 18-year-old Barnard College freshman, based the account of 13-year-old Zyairr Davis, who’s charged with felony murder in Family Court in her death.

Davis has allegedly said that he and two pals tried to rob Majors, and that one of the others stabbed her when she resisted.

Under state law, the testimony of a single co-conspirator isn’t enough to sustain charges against a criminal defendant.

Last week, the NYPD conducted a manhunt in Harlem for the teen after he purportedly jumped out of a car while on his way with an unidentified adult to meet with cops to discuss Majors’ slaying.

Detectives now believe that story, related by the adult, was a “ruse” to give the teen time to go underground, sources familiar with the investigation said.

Subsequent investigation led authorities to suspect the teen was hiding out with relatives “down South,” and the New York-New Jersey Regional Fugitive Task Force was enlisted to try to track him down, sources told The Post earlier this week.