In this study, AlSi12 alloy was fabricated using the selective laser melting (SLM) technique to produce high density components with complex and customized parts for railway applications. Nonetheless, the production of dense samples necessitates the optimization of production process parameters. As a statistical design of experimental technique, the response surface methodology was used to optimise different combination of SLM parameters. The results were analysed using analyse of variance (ANOVA) and the signal-to-noise(S/N) ratios. The relationship between the hardness response to the process parameters (scanning speed and lase power) for determining the optimal processing conditions were examined. A hardness value of 133 HV was obtained. The process parameters were successfully optimized and the relationship between the parameters and the structures of the fabricated samples were reported.