From archaeological discoveries, it is believed that the area was one of the oldest communities in Thailand, dating back to the prehistoric period. It is believed that this province may have taken its name from Krabi, which means "sword". This may come from a legend that an ancient sword was unearthed prior to the city’s founding.
The name "Phi Phi" (pronounced "pee-pee") originates from Malay. The original name for the islands was Pulau Api-Api ("the fiery isle"). The name refers to the Pokok Api-Api, or "fiery tree" (grey mangrove) which is found throughout the island.