Disconnect the keyboard.
Clean the magnetic connector pins with a microfiber cloth.
Check for bent or damaged pins.
Reattach firmly
Restart your Surface and enter the UEFI (BIOS):
Shut down the Surface.
Hold Volume Up.
Press and release the Power button.
Keep holding Volume Up until the UEFI screen appears.
Now test the arrow keys or Tab key.
If the keyboard works in UEFI: The problem is almost certainly Windows, drivers, or firmware.
If it doesn't work in UEFI: It's likely a hardware issue with the Type Cover or connector.
Hold Power for about 20 seconds until the Windows logo appears again.
After it shuts down, wait 10 seconds.
Turn it back on.
If that doesn't help:
Hold Power + Volume Up together for 15–20 seconds.
Ignore the screen flashing.
Release both buttons.
Wait 10 seconds.
Power on normally.
Try another compatible Surface Pro 8 Type Cover
If you can borrow one, this is the fastest way to determine whether the keyboard itself has failed.
If another keyboard works, you know your original Type Cover needs repair or replacement.
Reinstall the keyboard drivers in Device Manager
install all Windows and Surface firmware updates
Run Microsoft's Surface Diagnostic Toolkit -it can detect firmware and keyboard issues and apply recommended fixes.
See: