© 2018. The American Astronomical Society. All rights reserved.. This paper describes the second data release (DR2) of the Beijing-Arizona Sky Survey (BASS). BASS is an imaging survey covering a 5400 deg2 footprint in the g and r bands using the 2.3 m Bok telescope. DR2 includes the observations through 2017 July obtained by BASS and by the Mayall z-band Legacy Survey (MzLS), which used the 4 m Mayall telescope to observe the same footprint. BASS and MzLS have completed 72% and 76% of their observations. The two surveys will be served for the spectroscopic targeting of the upcoming Dark Energy Spectroscopic Instrument. Both BASS and MzLS data are reduced by the same pipeline. We have updated the basic data reduction and photometric calibrations in DR2. In particular, source detections are performed on stacked images, and photometric measurements are co-added from single-epoch images based on these sources. The median 5σ point-source depths after Galactic extinction corrections are 24.05, 23.61, and 23.10 mag for the g, r, and z bands, respectively. The DR2 data products include stacked images, co-added catalogs, and single-epoch images and catalogs. The BASS website (http://batc.bao.ac.cn/BASS/) provides detailed information and links to download the data.