Abstract. Water resources infrastructure is critical for energy and food security, however, the development of large-scale infrastructure, such as hydropower dams, may significantly alter downstream flows, potentially leading to water resources management conflicts and disputes, especially in transboundary river basins. Mutually agreed upon water sharing policies for the operation of existing or new reservoirs is one of the most effective strategies to mitigate conflict, yet this is a complex task involving the estimation of available water, identification of users and demands, procedures for water sharing, etc. We propose a water-sharing policy framework that incorporates reservoir operating rules optimization based on conflicting uses and natural hydrologic variability, specifically tailored to drought conditions. We first establish the trade-off between downstream and upstream water availability utilizing multi-objective optimization of reservoir operating rules. Next, we simulate reservoir operation with the candidate (optimal) rules, evaluate their performance, and select the most suitable rules for balancing water uses. Subsequently, we build a relationship between the reservoir operations simulated from the selected rules and drought-specific conditions to derive water-sharing policies. Finally, we re-optimize the reservoir operating rules to evaluate the effectiveness of the drought-specific water sharing policies. We apply the framework to reservoir operation of the Grand Ethiopian Renaissance Dam (GERD) on the Blue Nile River. We find that the derived water sharing policy can balance GERD power generation and downstream releases, especially in dry conditions, effectively sharing the hydrologic risk in inflow variability among riparian countries. The proposed framework offers a robust approach to inform water sharing policies for sustainable management of transboundary water resources.