Something Rotten is the first novel of the Horatio Wilkes mystery series by Alan Gratz. It loosely follows the plot of Hamlet by William Shakespeare, but it is modernised and set in the United States.