A protocol is outlined to perform live real-time imaging to quantify how the accessory protein TnpB affects the dynamics of transposition in individual live Escherichia coli cells.