coffee was first planted in costa rica in the early 19th century. it was first shipped to europe in 1843. it became costa rica's first major export. coffee would remain costa rica's biggest export until the 20th century.