Japan constructed the first ‘compact’ X-ray free-electron laser (XFEL), and started user operation in 2012. This chapter describes the historical development of the compact XFEL concept, the underlying physical principles of XFEL, the details of the accelerator system, the details of the photon beam line, and the scientific applications, followed by a brief comment on the future trend of the XFEL facilities.