Evidence of early examples of batik have been found in the Far East, Middle East, Central Asia and India from over 2000 years ago. It is conceivable that these areas developed independently, without the influence from trade or cultural exchanges. However, it is more likely that the craft spread from Asia to the islands of the Malay Archipelago and west to the Middle East through the caravan route. Batik was practised in China as early as the Sui Dynasty (AD 581-618). These were silk batiks and these have also been discovered in Nara, Japan in the form of screens and ascribed to the Nara period (AD 710-794). It is probable that these were made by Chinese artists. They are decorated with trees, animals, flute players, hunting scenes and stylised mountains.
No evidence of very old cotton batiks have been found in India but frescoes in the Ajunta caves depict head wraps and garments which could well have been batiks. In Java and Bali temple ruins contain figures whose garments are patterned in a manner suggestive of batik. By 1677 there is evidence of a considerable export trade, mostly on silk from China to Java, Sumatra, Persia and Hindustan. In Egypt linen and occasionally woollen fabrics have been excavated bearing white patterns on a blue ground and are the oldest known and date from the 5th century A.D. They were made in Egypt, possibly Syria. In central Africa resist dyeing using cassava and rice paste has existed for centuries in the Yoruba tribe of Southern Nigeria and Senegal.
Indonesia, most particularly the island of Java, is the area where batik has reached the greatest peak of accomplishment. The Dutch brought Indonesian craftsmen to teach the craft to Dutch warders in several factories in Holland from 1835. The Swiss produced imitation batik in the early 1940s. A wax block form of printing was developed in Java using a cap.