
It is known to be more than a millennium old, probably originating in ancient Egypt or Sumeria. There is evidence that cloth decorated through some form of resist technique was in use in the early centuries AD.[citation needed] It is found in several countries later in West Africa such as Nigeria, Cameroon and Mali, or in Asia, such as India, Sri Lanka, Iran, and Thailand, and Malaysia, but the most popular are in Indonesia. The art of Batik reach its highest achievement in technique, intricate design, and refined aesthetic in Java, Indonesia. The island of Java itself is famous and has been well known for its exquisite batik for centuries, particularly in places such as Yogyakarta, Solo, Cirebon, and Pekalongan.

Procedure - Melted wax is applied to cloth before being dipped in dye. It is common for people to use a mixture of bees wax and paraffin wax. The bee's wax will hold to the fabric and the paraffin wax will allow cracking, which is a characteristic of batik. Wherever the wax has seeped through the fabric, the dye will not penetrate. Sometimes several colors are used, with a series of dyeing, drying and waxing steps.
Thin wax lines are made with a canting needle, a wooden handled tool with a tiny metal cup with a tiny spout, out of which the wax seeps. Other methods of applying the wax onto the fabric include pouring the liquid wax, painting the wax on with a brush, and applying the hot wax to precarved wooden or metal wire block and stamping the fabric.

The invention of the copper block or cap developed by the Javanese in the 20th century revolutionised batik production. It became possible to make high quality designs and intricate patterns much faster than one could possibly do by hand-painting.
Indonesian batik used for clothing normally has an intricate pattern. The traditional ones carry natural colors while the contemporary ones have more variety of color. Some batik may be mystic-influenced, but very rarely used for clothing. Some may carry illustrations of animals and people. Malaysian batik used for clothing emphasizes the bright color arrangements more than the patterns.