This research objective is to optimize the surface roughness of Nylon-6 (PA-6) and Acrylonitrile Butadiene Styrene (ABS) by analyzing the parametric effects of the Fused Filament Fabrication (FFF) technique of Three-Dimensional Printing (3DP) parameters. This article discusses how to optimize the surface roughness using Taguchi analysis by the S/N ratio, ANOVA, and modeling methods. The effects of ABS parameters (initial line thickness, raster width, bed temperature, build pattern, extrusion temperature, print speed, and layer thickness) and PA-6 parameters (layer thickness, print speed, extrusion temperature, and build pattern) were investigated with the average surface roughness (Ra) and root-mean-square average surface roughness (Rq) as response parameters. Validation tests revealed that Ra and Rq decreased significantly. After the optimization, the Ra-ABS and Rq-PA-6 for the fabricated optimized values were 1.75 µm and 21.37 µm, respectively. Taguchi optimization of Ra-ABS, Rq-ABS, Ra-PA-6, and Rq-PA-6 was performed to make one step forward to use them in further research and prototypes.