Distributors and their landlords were told in late September to shut down in 45 days or face prosecution.
Some marijuana distributors filed for a temporary restraining order earlier this month.
California legalized medical marijuana in 1996, but use of the drug remains illegal under federal law.
It was reported that some outlets appear to have been targeted because they are near schools and parks.
Federal prosecutors say they are focusing on towns and cities that have already banned marijuana shops.
Matthew Kumin, a lawyer for the pro-marijuana group NORML, told reporters earlier this week that the federal government’s marijuana policies were not consistent.
“The government’s irrational policy has reached a breaking point,” Matthew Kumin said.
“The federal government said it will not prosecute patients, and yet they want to shut off their supply. This doesn’t make sense.”
The complaint, filed in four US district courts in California, says a federal crackdown contradicts an agreement from a previous court case.
In that case, the federal government said it would not use its own power against marijuana patients who were acting within the guidelines of state law.
Medical marijuana advocates also contend threatening to close down dispensaries is a violation of the 10th amendment to the US constitution.
“Unless and until ordered otherwise, we will continue to do our duty in enforcing federal narcotics laws,” the US attorney for the Eastern District of California told the New York Times in a statement.
While the NORML suit is the second such filing in California, Matthew Kumin told the Los Angeles Times that only a few so-called pot collectives and landlords wanted to publicly fight.
“Everybody’s gone underground,” Kumin said.
Medical marijuana advocates in California say the drug is a key element of palliative care for patients with a range of conditions, including cancer, chronic pain, glaucoma and arthritis.
Elsewhere in the US, the District of Columbia and 15 additional states allow patients to possess marijuana with a doctor’s prescription.
But many fear the prescriptions are misused and the drug is in effect being made legally available to healthy recreational users.
woxZ1FKkDkMImage source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…