Injection drug users (IDUs) entering treatment programs in Montreal and Toronto were recruited for a study of drug using behaviour and risk of HIV infection. Only those who had injected within 6 months of entering their treatment program were eligible for participation. 183 subjects were recruited in Montreal and 167 in Toronto between November, 1988 and October, 1989. Each participant completed a standardized interviewer-administered questionnaire which focussed on, among other things, drug history and needle sharing behaviour. Approximately three-quarters of respondents in both cities reported sharing needles and syringes within the 6-month period prior to their entry into treatment. Our analysis, which focussed on variables associated with needle sharing revealed that having a sexual partner who injected, trouble obtaining sterile needles and syringes and cocaine injection were significantly and independently associated with needle sharing in a logistic regression model which also controlled for city of recruitment.