plain clothes detective

noun

1.
a detective who wears civilian clothes on duty