We propose a test for multimodality with dependent data by resampling from a suitably constructed transition probability kernel, which includes Silverman's test with independent data as a special case. We extend some theoretical properties of Silverman's test with independent and identically distributed data to weakly dependent data, and also discuss the robustness of Silverman's test against departure from independence.