This paper presents an optimisation model for cost optimisation of maintenance at an offshore wind farm (OWF). The model is created for OWF project developers to optimise strategic resources to meet their maintenance demand. The model takes into account various maintenance categories on a full range of wind turbine components; the failure rate associated with each component is dependent on wind speed in order to consider weather uncertainty. Weibull distribution is used to predict the probability of wind speed occurring during a given period based on available historical data. The performance of the proposed optimisation model has been validated using reference cases and a UK OWF in operation. Various optimal solutions are investigated for the problems with increased and decreased mean turbine failure rates as a sensitivity test of the model.