A man was caught doing drug deals in the Old Palace Road area of Norwich.
Lise Ali, 23, was found to have 18 wraps of heroin and seven wraps of crack cocaine when arrested, Norwich Crown Court heard.
Ali, from London, admitted being concerned in drug supply on December 10, 2018.
The court heard while on bail he was also found to be involved in cannabis supply in London.
Michael Clare, for Ali, said he was an impressionable and vulnerable young man .
"He is completely bereft of criminal cunning. Each time he has been involved, he has been caught."
He said Ali was low down the chain and dealing to fund his own habit.
Jailing Ali for three years, Recorder Guy Ayers said: "You were involved in selling Class A drugs and everyone that gets involved in that must expect to receive a substantial and immediate custodial sentence."
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here