Here, we present a protocol for the generation and imaging of a localized bacterial infection in the zebrafish otic vesicle.