A grommet includes a body cylinder, an attachment cylinder, and a resilient retention portion. The body cylinder is configured such that a line shaped member is insertable therethrough. The attachment cylinder is provided at one end portion in an axis direction of the body cylinder and is configured to be attached to an opening formed at an attachment target. The resilient retention portion is provided between the body cylinder and the attachment cylinder, and is configured to resiliently deform to abut and retain the line shaped member.