Printing threads
Photo Credit: Courtesy of 3DStockPhoto ( image)

This depends on the nozzle diameter, the layer thickness, and the material.

I've made very good M8 and acceptable M6 threads (nut and bolt) at 0.2mm layers with a 0.5mm nozzle, out of ABS, and also out of PETG.