A door will rattle when there's too much space between the door and the door stop. The solution is to reduce or remove the gap. Here's one solution: Knock the door stop flush with a hammer and a scrap piece of wood. If the stop is more than 1/16 in. out of whack, you may end up with a noticeable unfinished spot where the door stop used to be, especially on painted doors. Add a couple of brads or finish nails to the stop if it's a door that regularly gets slammed shut.