In this work, an optimized broadband method using multilayer transmission lines to characterize dielectric permittivity and loss tangent of material samples is presented. For this purpose, a microstrip line loaded with a piece of the selected dielectric to be characterized is used. From two-port measurements, and using different length lines, the propagation constant can be obtained. To minimize random errors and to improve the accuracy, an over determination of the method increasing the number of lines measured and a criteria to choose the optimal line lengths is considered. Firstly, the measurement method itself is applied to uncovered microstrip lines and an accurate model of the substrate is obtained. Secondly, the lines are covered with several materials, made by FDM additive manufacturing technique, such as Acrylonitrile Butadiene Styrene (ABS), Polylactic Acid (PLA), High Impact Polystyrene (HIPS), Thermoplastic Polyurethane (TPU), Copolyester (CPE), FLEX, Polyethylene Terephthalate Glycol (PETG) and Nylon. A model of the transmission line considering the cover is developed and an electromagnetic simulator is used to indirectly determine the cover material electrical parameters. Results show excellent agreement with electromagnetic simulations in the 0.1-to 67-GHz frequency band, so they assess the suitability of the proposed method.