A balaclava-wearing rapist who separately attacked a woman and a teenage girl in their bedrooms has been jailed for 18 years.

Davut Bulduk was described by his defence lawyer as an "ice zombie" because he couldn't remember what he did to his victims in Melbourne's northern suburbs, but County Court judge Paul Lacava said drug use could not excuse his terrifying violence.

Davut Bulduk blamed his offending on a heavy ice addiction costing up to $300 a day.

On New Year's Eve 2015 Bulduk was naked, wearing only a balaclava, and armed with a knife when he confronted the woman, who was home alone and had just got out of the shower.

Bulduk grabbed her, bound her wrists and raped her. He then ordered her to clean herself and raped her again.