A scenario-based treatment plan optimization method for radiotherapy treatment is proposed, in which a first and a second possible scenario are defined. Different optimization functions are defined for the scenarios and the treatment plan is optimized applying the first optimization function under the first scenario and the second optimization function under the second scenario, thereby obtaining a first optimized radiotherapy treatment plan.