The two women, who are US citizens, referred to themselves as “citizens of the Islamic State”, according to court documents.
Noelle Velentzas and Asia Siddiqui are said to be roommates living in the Queens section of New York City.
Ms Siddiqui had several gas tanks and instructions on turning them into bombs, the documents say.
Ms Siddiqui “had repeated contact with members of the foreign terrorist organisation al-Qaeda in the Arabian Peninsula” the documents said.
Her accomplice, Ms Velentzas referred to Osama Bin Laden as a hero, according to the US Department of Justice.
Ms Velentzas apparently criticised a US Air Force veteran who was recently arrested for attempting to travel to Syria engage in violent jihad.
She questioned why people would try to travel overseas when there were targets in the United States that provided opportunities for “pleasing Allah”, the Justice Department said.
The documents say the women have been meeting with an undercover agent for several years.
Ms Siddiqui reportedly told the agent that Ms Velentzas had a particular interest in pressure cookers, which were used in the attacks on the Boston Marathon in 2013.
The two women are set to appear in court in New York in a few hours.