The TPX3CAM is a fast optical detector for time stamping of optical photons. It is based on a new silicon pixel sensor. In combination with the Timepix3 ASIC and readout it is suitable for a wide range of applications which require time-resolved imaging of electrons, ions, neutrons or single photons. The detector can be easily integrated in table-top lab setups as well as synchrotron and free-electron-laser environments.