Abstract Polyaniline (PANI) and its nanocomposites (PANI\MMT and PANI\MMT-Cu) were prepared with montmorillonite nanoparticles well as the preparation of nanocomposite polyaniline with adjusted copper sulfate montmorillonite clay. As X-ray fluorescence and X-ray diffraction technology were used to calculate nanocomposite type and crystal sizes of PANI, PANI\MMT, PANI\MMT-Cu, respectively, samples were measured. The FTIR charts revealed new absorption peaks for nanocomposites that varied from polyaniline absorption values, and this is proof of nanocomposite preparation. UV calculations were often used to calculate the overall wavelength, red, and blue shifts. To inspect the morphology of polyaniline and its nanocomposites, FESEM was also carried out.