
As each region of Indonesia has its own traditional pattern, batiks are commonly distinguished by the region they originated in, such as batik Solo, batik Yogyakarta, batik Pekalongan, and batik Madura. Batiks from Java can be distinguished by their general pattern and colours into batik pedalaman (inland batik) or batik pesisiran (coastal batik). Batiks which do not fall neatly into one of these two categories are classified by their region. A clustering of batik designs from all parts of Indonesia by degree of similarity indicates a history of cultural assimilation.
Javanese batik
Inland batik, batik pedalaman or batik kraton (Javanese court batik) is the oldest batik tradition in Java. Inland batik has an earth colour such as black, indigo, brown, and sogan (a yellow from the tree Peltophorum pterocarpum), sometimes against a white background, with symbolic patterns that are mostly free from outside influence. Certain patterns are worn and preserved by the royal courts, while others are worn on specific occasions.

At a Javanese wedding for example, the bride wears specific patterns at each stage of the ceremony. Noted inland batiks are produced in Solo and Jogjakarta, cities traditionally regarded as the centre of Javanese culture. Batik Solo typically has a sogan background and is used by the Susuhunan and Mangkunegaran Courts. Batik Jogja typically has a white background and is used by the Yogyakarta Sultanate and the Pakualaman Court.
Coastal batik or batik pesisiran is produced in several areas of northern Java and Madura. In contrast to inland batik, coastal batiks have vibrant colours and patterns inspired by a wide range of cultures as a consequence of maritime trading. Recurring motifs include European flower bouquets, Chinese phoenix, and Persian peacocks. Noted coastal batiks are produced in Pekalongan, Cirebon, Lasem, Tuban, and Madura; out of these, Pekalongan has the most active batik industry. Another coastal batik called tiga negeri ([batik of] three lands) is attributed to three regions: Lasem, Pekalongan, and Solo, where the batik would be dipped in red, blue, and sogan dyes respectively.