de tempos em tempos
de (“of, from”) + tempos (“times”) + em (“in”) + tempos (“times”)
Literally, "from times in times".