This document provides a gel extraction protocol using magnetic beads to purify DNA fragments from an agarose gel. The main steps include: 1) adding a binding solution to the gel slice and incubating to elute DNA fragments, 2) adding magnetic beads and isopropanol to bind DNA to the beads, 3) washing beads to remove contaminants, 4) drying beads and eluting purified DNA from the beads. The protocol aims to maximize DNA yield from the gel using various concentrations of isopropanol in the binding and washing steps.