PurposeThe purpose of the experimental investigation was to optimize the process parameters of the fused deposition modeling (FDM) technique. The optimization of the process was performed to identify the relationship between the chosen factors and the tensile strength of acrylonitrile butadiene styrene (ABS) and carbon fiber polylactic acid (PLA) thermoplastic material, FDM printed specimens. The relationship was demonstrated by using the linear experimental model analysis, and a prediction expression was established. The developed prediction expression can be used for the prediction of tensile strength of selected thermoplastic materials at a 95% confidence level.Design/methodology/approachThe Taguchi L9 experimental methodology was used to plan the total number of experiments to be performed. The process parameters were chosen as three at three working levels. The working range of chosen factors was the printing speed (60, 80 and 100mm/min), 40%, 60% and 80% as the infill density and 0.1mm, 0.2mm and 0.3mm as the layer thickness. The fused deposition modeling process parameters were optimized to get the maximum tensile strength in FDM printed ABS and carbon fiber PLA thermoplastic material specimens.FindingsThe optimum condition was achieved by the process optimization, and the desired results were obtained. The maximum desirability was achieved as 0.98 (98%) for the factors, printing speed 100mm/min, infill density 60mm and layer thickness 0.3mm. The strength of the ABS specimen was predicted to be 23.83MPa. The observed strength value was 23.66MPa. The maximum desirability was obtained as 1 (100%) for the factors, printing speed 100mm/min, infill density 60mm and layer thickness 0.2mm. The strength of the carbon fiber PLA specimen was predicted to be 26.23MPa, and the obtained value was 26.49MPa.Research limitations/implicationsThe research shows the useful process parameters and their suitable working conditions to print the tensile specimens of the ABS and carbon fiber PLA thermoplastics by using the fused deposition modeling technique. The process was optimized to identify the most influential factor, and the desired optimum condition was achieved at which the maximum tensile strength was reported. The produced prediction expression can be used to predict the tensile strength of ABS and carbon fiber PLA filaments.Practical implicationsThe results obtained from the experimental investigation are useful to get an insight into the FDM process and working limits to print the parts by using the ABS and carbon fiber PLA material for various industrial and structural applications.Social implicationsThe results will be useful in choosing the suitable thermoplastic filament for the various prototyping and structural applications. The products that require freedom in design and are difficult to produce by most of the conventional techniques can be produced at low cost and in less time by the fused deposition modeling technique.Originality/valueThe process optimization shows the practical exposures to state an optimum working condition to print the ABS and carbon fiber PLA tensile specimens by using the FDM technique. The carbon fiber PLA shows better strength than ABS thermoplastic material.