The COVID-19 virus in a short time has caused a terrible crisis that has been spread around the world. This crisis has affected human life in several dimensions, one of which is a sharp increase in urban waste. This increase in waste volume during the pandemic, in addition to the intense increase in costs associated with the risks of virus contagion through infectious waste. In this study, a hybrid mathematical modelling approach including a Bi-level programming model for infectious waste management has been proposed. At the higher level of the model, government decisions regarding the total costs related to infectious waste must be minimized. At this level, the collected infectious waste is converted into energy, the revenue of which is returned to the system. The lower level relates to the risks of virus contagion through infectious waste, which can be catastrophic if ignored. This study has considered the low, medium, high and very high prevalence scenarios as key parameters for the production of waste. In addition, the uncertainty in citizens’ demand for waste collection was also included in the proposed model. The results showed that by energy production from waste during the COVID-19 pandemic, 34% of the total cost of collecting and transporting waste can be compensated. Finally, this paper obtained useful managerial insights using the data of Kermanshah city as a real case.