A keyboard structure. The keyboard structure includes a base plate, a light guide member, a membrane circuit board, a key assembly and a light-emitting element. The light guide member is disposed on the base plate. The membrane circuit board is disposed on the light guide member. The key assembly is disposed on the membrane circuit board, with a key cap and a resilient element between the key cap and the membrane circuit board. The light-emitting element is adjacent to the light guide member and is disposed under the membrane circuit board. Light from the light-emitting element enters the resilient element and key cap via the light guide member.