Police found a 37-year-old Sedbury woman surrounded by syringes full of mephedrone in her home.
Susan Soguklesme, of Saxon Place, pleaded guilty to possessing the class B drug, also called MCat, with intent to supply on June 30, last year.
Her partner Aaron Haile, 33, of Broadstone Terrace, Chepstow, pleaded guilty to being concerned in the supply of the drug between June 3 and July 30, 2014.
The prosecution accepted his basis of plea that he only provided his partner with the drug and did not supply it to others for profit.
Prosecuting barrister Julian Kesner told Gloucester Crown Court on Monday: "When police searched Soguklesme's home they found her in the toilet area surrounded by needles full of the drug ready for intravenous injection.
"Behind the WC was 23.9 grams of mephedrone, other quantities of the drug in wraps ready for sale and mobile phones, one of which contained a message indicating that the defendant was about to take delivery of the drug.
"Police also seized £180 in mixed notes in the bathroom.
"Haile supplied only her and is now not a drug user but his partner was a habitual user."
Defending lawyer John Twomlow said: "The amount found by police was not huge and some of it was for my client's own use.
"She has a long-standing drug problem but her partner no longer has a problem but has been trying to assist her in reducing the amount she takes."
Recorder Paul Grumbar said: "MCat is a filthy drug but Ms Soguklesme has had a lot of tragedy in her life."
She was given a nine-month prison sentence suspended for 12 months and placed on 12-months supervision with a drug rehabilitation programme.
Haile was given 12 months supervision and ordered to do 40 hours of unpaid work.