This study aimed to assess the antibiotic prescribing pattern for endodontic infections among general dental practitioners (GDPs) and endodontic specialists in Malaysia. A 22‐questions survey on demographic and general information on antibiotic prescribing patterns for endodontic infection was delivered to the email addresses of general dentists and specialists via the Dental Practitifoner Information Management System database. Collected data were analysed using multivariate logistic regression tests at the significance level of 0.05. A total of 372 responses were collected. 94% of respondents were GDPs, and 6% endodontists. Clinical experience and frequency of endodontic treatment performance were the significant factors in prescribing antibiotics (p < 0.05). The common reasons for antibiotic prescription were to control the spread of infection and fever (88%). Endodontists have better knowledge of antibiotic prescription than GDPs. The majority of GDPs had inappropriately prescribed antibiotics. Improving the knowledge of GDPs in Malaysia regarding antibiotics‐indications in endodontics is mandatory.