Introduction: Knowledge on anaphylaxis management is paramount in saving lives. The main objective of this study was to assess the knowledge on anaphylaxis, its associated factors and self-perceived confidence on its management among medical officers practising at Teaching Hospital, Karapitiya. Methods: This cross-sectional study included all medical officers (n=531) working in Teaching Hospital Karapitiya. The data were collected within three months via a self-administered questionnaire. The questionnaire consisted of 3 main parts. Part A for demographic data, part B on knowledge on diagnosis and management of anaphylaxis generated from case scenarios and part C on self-perceived confidence on diagnosis and management of anaphylaxis.Results: The response rate was 79% (n=395). Of the respondents, only 9.36% doctors diagnosed all case scenarios correctly. Nearly a quarter (25.8%) identified all anaphylaxis triggers and 25% identified all the amplifying factors. Majority (91.9%) of doctors identified adrenaline as the first line treatment. More than 80% correctly mentioned the second line treatment with more than 90% scored for correct initial management. The score of knowledge on treatment doses of adrenaline in the paediatric age group was poor (60%). Importance of adrenaline auto-injector was identified by 69.1% but knowledge on further follow up of anaphylaxis was sub-optimal. Self-perceived confidence in diagnosis of anaphylaxis 87.6% and the self-perceived confidence in management of anaphylaxis was 83.9%. Conclusions & recommendations: Even though the self-perceived confidence in diagnosis and management of anaphylaxis was satisfactory among the doctors, the knowledge on triggers and amplifying factors were sub-optimal. Novel educational and training strategies must be implemented to overcome the identified deficiencies.