BackgroundJunior doctors undertake a significant amount of prescribing; however, they are not well prepared for this, and report they would like more training in their undergraduate courses. To address this we tested a pharmacist-led prescribing program for final-year medical students.MethodsSixteen final-year students took part in the program. The program involved students writing prescriptions and getting feedback from clinical pharmacists, undertaking prescribing and calculation tutorials, and spending time in the pharmacy department. Evaluation included a pre- and post-assessment of their confidence and skills in prescribing, and a feedback session discussing the strengths and weakness of the program, and their perceptions about the role of pharmacists. Changes in the pre- and post-assessment of confidence and skills were examined with permutation and Mann-Whitney U tests.ResultsThere was a significant improvement in students’ confidence in prescribing, and a small but consistent improvement in prescribing skills. Of note, no student prescribed inappropriately and potentially harmfully after the program. Participants were positive about the program, and indicated a better understanding about the pharmacists’ role and their ability to support them as junior doctors.ConclusionsThis study has shown the potential effect of a pharmacist-led prescribing program on the skills and confidence in prescribing by medical students. It provided an interprofessional teaching opportunity, preparing students for a team-based approach to patient management.Electronic supplementary materialThe online version of this article (10.1186/s12909-019-1486-1) contains supplementary material, which is available to authorized users.