The total synthesis of berberine alkaloid javaberine A was examined. The B/C ring of berberine was successfully constructed by sequential Bischler-Napieralski cyclization-reduction protocols, and final demethylation afforded both javaberine A and its epimer.