Fused deposition modelling (FDM) is a modern rapid prototyping (RP) technique due to its potential to replicate a concept modelling, prototypes tooling and usable parts of complex structures within a short period of time. However, proper parameter selection is crucial to produce good quality products with reasonable mechanical properties, such as mechanical strength. In this study, four important process parameters, such as layer thickness, printing speed, print temperature and outer shell speed, are considered. These parameters are studied to observe their relationship towards the flexural strength of the polylactic acid (PLA) printed parts. The experimental design is conducted based on the central composite design in response surface methodology (RSM). Statistical analysis is performed using analysis of variance (ANOVA), in which the correlation between input parameters and output response is analysed. Next, the evolutionary algorithm optimisation approach, i.e., particle swarm optimisation (PSO), is applied to optimise the process parameters based on the regression model generated from the ANOVA. Results obtained from the PSO method are experimentally validated and compared with those of the traditional method (i.e., RSM). The flexural strength from experimental validation obtained using PSO exhibits an improvement of approximately 3.8%. The optimum parameters for layer thickness (A), print speed (B), print temperature (C) and outer shell speed (D) of approximately 0.38 mm, 46.58 mm/s, 185.45 °C and 29.59 mm/s result in flexural strength of 96.62 MPa.