If you have only 24 hours to spend in Moray, you should definitely start with the Elgin Cathedral. This beautiful and historic building will take a few hours to properly explore, so plan to spend at least half a day there.
Next, head to the Glen Moray Distillery for a tour and tasting. This will take a few hours as well, so plan accordingly.
In the afternoon, make your way to the coast to visit the Lossiemouth Beach and the Covesea Lighthouse. Take a walk along the beach and enjoy the scenic views or climb up to the lighthouse for even more stunning views. This will take a few hours depending on how much time you want to spend at each spot.
Finally, end your day by visiting the Spynie Palace. This historic site is a must-see and will take a couple of hours to fully explore.
Overall, if you follow this itinerary, you'll have a packed but interesting day in Moray!