Mengejar Matahari is a coming of age tale of four childhood friends in a Jakarta ghetto whose bonds are tested as they grow into adulthood. They share a nightly ritual, "chasing the sun" (mengejar matahari), where they race through the ghetto, symbolically chasing their future. Their friendship becomes strained when Ardi and Damar fall in love with Apin's niece, Rara, just as a neighborhood bully is released from jail and seeks revenge. The film is both about the strength of friendship and a metaphor for the durability of the Indonesian archipelago.
Indah is an orphan who was raised by Kadir, her uncle. She works in a printing business helping her uncle. One day, Indah met Bobby, who was one of the customers. Gradually, from this introduction, attraction grew between Indah and Bobby. Indah, who was still innocent, was seduced by Bobby until she finally became pregnant. Retno, Kadir's wife, finds out that Indah is pregnant and then throws her out. Kadir and his daughter Ratih have tried to look for her but have been unsuccessful.