The optimal parameters of electron beam induced carbon deposition (EBICD) using hydrocarbon contamination were studied as a function of electron beam energy and scanning time to avoid the mixing or damage layer formation at the interface of the electron beam assisted Pt protection layer and the sample surface by dual beam focused ion beam (DB FIB) for cross sectional transmission electron microscopy (XTEM) analysis. The optimal condition of EBICD was determined. The thickness of EBICD layer increases with electron beam scanning time and amount of hydrocarbon contamination on the sample surface. EBICD using hydrocarbon contamination successfully provides a carbon protection layer for XTEM analysis. (C) 2010 Elsevier Ltd. All rights reserved.