How to sew a loose shirt button back on by hand
Position the button, sew it securely and leave just enough room for the fabric beneath it.
Mark the original position
Lay the garment flat and use the old thread holes or the corresponding buttonhole as a guide. If the position is easy to lose, mark it lightly with removable tailor's chalk. Match the replacement button in both size and thickness.
Sew through the same holes several times
Use matching strong thread and pull each pass flat without puckering the fabric. On a thicker shirt or jacket, place a removable spacer across the button while stitching to leave room for the other layer.
Finish underneath and check the fit
Remove the spacer and, if needed, wrap thread around the stitches between button and fabric to support that gap. Tie off on the inside. Fasten the button twice and check that it neither pulls the fabric nor slips through the hole.