“Teen Mom” Amber Portwood’s ex-boyfriend has accused her of using meth and other drugs while pregnant with their son.

During a custody court hearing, Andrew Glennon said the 31-year-old reality TV star has a “history of substance abuse, even while pregnant with and subsequently caring for the minor child herein,” according to The US Sun.

Glennon is now demanding a “hair follicle drug screen” test to determine whether Portwood is still using drugs. His concerns resurfaced after Portwood appeared to be “acting erratically, speaking frantically and [she] appeared completely paranoid and disheveled” during an Oct. 16 custody exchange.

Glennon, 37, said he has previously seen Portwood act in a similar fashion when she was under the influence of methamphetamine.

“[Amber] went so far as to allege that two nearby vehicles were ‘staking her out’ and waved down Petitioner/Father as he was leaving with the minor child to ask him to tell the individuals in the nearby vehicles to ‘stop’ staking her out,” Glennon’s lawyer said in the court papers.

Portwood denied the allegations, saying she “has not used any substance, except for prescription medication taken within the therapeutic limits,” according to the court report released by The US Sun.

Page Six noted that the “16 and Pregnant” TV personality gave birth to her son with Glennon, James, in May 2018. The couple eventually split in July 2019 after Portwood allegedly attacked Glennon with a machete, prompting him to seek sole custody.

Portwood pleaded guilty for domestic battery, criminal recklessness committed with a deadly weapon and domestic battery committed in the presence of a child less than 16 years old.