Over the last decades, molecular dynamics simulations have been extensively used to calculate lattice heat conduction in nano-and bulk-materials, as the realistic potential functions, software package, and many core clusters have become widely accessible. Nonequilibrium molecular dynamics, particularly the inhomogeneous ones, have been a popular choice of method owing to their intuitive way of applying the perturbation to the system. On the other hand, despite its simplicity, the results can be significantly influenced by the simulation parameters, and various methodological issues such as validity of linear response theory, effect of sizes, influence of temperature or heat flux control need to be carefully checked and taken into account. These aspects are discussed for various types of nonequilibrium methods based on homogeneous/inhomogeneous and steady/transient molecular dynamics simulations. Their capability to calculate bulk thermal conductivity, heat wave propagation, the classical size effect of thermal conductivity at the nanoscale, and total and spectral thermal boundary conductance are explained and demonstrated with examples. NOMENCLATURE Acronyms CNT carbon nanotube EMD equilibrium molecular dynamics DFT density functional theory GK Green-Kubo GROMACS Groningen machine for chemical simulations Φ harmonic interatomic force constant [Nm-1 ] cubic interatomic force constant [Nm-1 ] X quartic interatomic force constant [Nm-1 ]