Medication errors can endanger the health and safety of patients and need to be managed appropriately. This study aimed at developing a new and comprehensive method for estimating the probability of medication errors in hospitals. An extensive literature review was conducted to identify factors affecting medication errors. Success Likelihood Index Methodology was employed for calculating the probability of medication errors. For weighting and rating of factors, the Fuzzy multiple attributive group decision making methodology and Fuzzy analytical hierarchical process were used, respectively. A case study in an emergency department was conducted using the framework. A total number of 17 factors affecting medication error were identified. Workload, patient safety climate, and fatigue were the most important ones. The case study showed that subtasks requiring nurses to read the handwritten of other nurses and physicians are more prone to human error. As there is no specific method for assessing the risk of medication errors, the framework developed in this study can be very useful in this regard. The developed technique was very easy to administer.