The document summarizes a study on optimizing the stock portfolio of PT XYZ, a state-owned pension fund company in Indonesia. In 2021, PT XYZ's actual stock portfolio performed poorly, with a return of 0.56% and Sharpe ratio of 2.39%, below targets. Using the Markowitz portfolio model and 5 years of stock price data, the study optimized the 2021 portfolio. The optimized portfolio increased the Sharpe ratio to 21.67% and return to 1.62%, outperforming the actual portfolio. An efficient frontier analysis identified multiple portfolio options with different risk-return profiles. The results recommend PT XYZ use the Markowitz method to improve future portfolio performance and evaluation.