Choose bolt-in prefab table legs in a style that matches your table. These legs are designed to thread into a threaded pocket in the bottom of a table to replace damaged legs. Make sure your legs are at least 12 inches long. Select T-bolts with the same thread as your table leg bolts.
Paint or stain your legs to match the table. Use a fine bristle brush to apply two coats of semigloss latex paint, or all-in-one stain and finish. Work in long straight strokes with the grain. Spread the finish as evenly as possible to prevent runs and drips. Allow the label-recommended drying time between coats and allow the legs to dry completely before installing them.
Turn your table upside down. Remove the nylon glides, or metal nails in the foot of the legs with a chisel and hammer. Tap the chisel under the edge of the nail and pry it up to remove it.
Drill a 5/16-inch hole in the center of each table leg, keeping your drill in line with the angle of the table leg to a depth of 1 inch. Blow the dust from the hole. Drive a T-bolt into each hole. Tap the T-bolt in, then anchor it by twisting clockwise with a large, flat-blade screwdriver.
Measure and cut your legs to length, cutting off the bottom end to the desired height on a miter saw. Thread the bolt of a leg into each T-bolt and tighten them by hand.