Organic combustion aerosols from a marine medium-speed diesel engine, capable to run on distillate (diesel fuel) and residual fuels (heavy fuel oil), were investigated under various operating conditions and engine parameters. The online chemical characterisation of the organic components was conducted using a resonance-enhanced multiphoton ionisation time-of-flight mass spectrometer (REMPI TOF MS) and a proton transfer reaction-quadrupole mass spectrometer (PTR-QMS). Oxygenated species, alkenes and aromatic hydrocarbons were characterised. Especially the aromatic hydrocarbons and their alkylated derivatives were very prominent in the exhaust of both fuels. Emission factors of known health-hazardous compounds (e.g. mono- and poly-aromatic hydrocarbons) were calculated and found in higher amounts for heavy fuel oil (HFO) at typical engine loadings. Lower engine loads lead in general to increasing emissions for both fuels for almost every compound, e.g. naphthalene emissions varied for diesel fuel exhaust between 0.7 mg/kWh (75 % engine load, late start of injection (SOI)) and 11.8 mg/kWh (10 % engine load, late SOI) and for HFO exhaust between 3.3 and 60.5 mg/kWh, respectively. Both used mass spectrometric techniques showed that they are particularly suitable methods for online monitoring of combustion compounds and very helpful for the characterisation of health-relevant substances. Graphical abstract Three-dimensional REMPI data of organic species in diesel fuel and heavy fuel oil exhaust.