The document describes a study that proposes an optimized stacking ensemble model for detecting phishing websites. The model uses a genetic algorithm to optimize the parameters of several ensemble machine learning classifiers (random forests, AdaBoost, XGBoost, Bagging, GradientBoost, and LightGBM). The optimized classifiers are then ranked, and the top three are selected as base classifiers for a stacking ensemble model. The stacking ensemble model is tested on three datasets of phishing and legitimate websites, achieving detection accuracies of 97.16%, 98.58%, and 97.39% on the respective datasets.