After “like,” both -ing and to-infinitive constructions are standard and often close in meaning. The usual distinction is one of emphasis, not a strict one-form-only grammar rule.
ReviewedEvidence1 sourceSectionEnglish Usage
Quick answer
Both are standard. “Like doing” often emphasizes enjoyment of the activity; “like to do” can emphasize a habit, preference or chosen practice.
Key details
Confusion Familygrammar-and-usage distinction
Rule Familyverb complement pattern
Termslike doing, like to do
Further guidance
Infinitive Emphasis
Use like + to-infinitive when the sentence emphasizes a habit, preference or chosen way of doing something.
Ing Emphasis
Use like + -ing when the activity or experience itself is in focus, often including enjoyment.
Would Boundary
With would like, standard guidance uses the to-infinitive rather than the -ing form.
Sources and evidence
Sources are shown with the role they play in this guide. Historical or style-sensitive claims are kept within the evidence boundary described above.
Cambridge documents both admit + -ing and admit to + -ing for acknowledging something. Other passive patterns such as “be admitted to be” are separate constructions.
Both patterns are standard. “Advise waiting” recommends an action generally or in context, while “advise him to wait” names the person who is advised to perform it. A that-clause is another standard option.
When “afford” is followed directly by another verb, standard learner references use a to-infinitive: “afford to do.” An -ing form can appear elsewhere in a sentence, but it is not a like-for-like direct complement after “afford.”
“Agree to do” expresses consent to take an action. An -ing form normally follows a preposition in patterns such as “agree with doing,” which expresses approval rather than the direct promise-to-act construction.
Cambridge documents aim + to-infinitive for intention and aim at for directing effort toward an objective. Do not omit the preposition and present bare “aim doing” as equivalent to “aim to do.”
“Allow” can take an activity as its object, as in “allow smoking,” or a person/thing followed by a to-infinitive, as in “allow visitors to enter.” The patterns answer different structural questions: what is allowed versus who is allowed to do what.