Learn English – It’s important to learn / learning a language when you’re young

infinitive-vs-gerund

It's important to learn / learning a language when you're young.

Best Answer

The most naturally-looking option is to use the "to-infinitive":

It's important to learn a language when you're young.

If you want to use "learning", you might remodel the sentence:

Learning a language when you're young is important.

Furthermore, "to learn" can also be put in the subject position:

To learn a language when you're young is important.


Some linguists call the pronoun "it" in sentences like yours a "syntactic expletive".

Here's a nice foray into the history of dummy pronouns and syntactic expletives.