I don't think it's incorrect to use the to come to form (and here
you may find several examples).
However, you should put a determiner (like the ) before the word office :
I can't come to the office.
ell.stackexchange.com/users/28210/mrnld
It is fine to use several to 's in the same sentence: I want to try to learn to ride a bike.
Here we can see three to 's in the same sentence.
The Original Poster shouldn't change their example.
It's a fine sentence.
ell.stackexchange.com/users/8084/Araucaria - Not here any more.
The two uses of the word "to" are fine but the sentence as a whole sounds weird to me (as a native British English speaker).
In my opinion, there should be a "the" in there after the "to":
I am not able to come to the office.
ell.stackexchange.com/users/25212/Peter Green
This can be taken as an extended comment on Araucaria's succinct (and entirely correct) answer.
Technically, you're not using the single word 'to' twice; the first instance of 'to' is inexorably wrapped up with the word 'come', as the two words together form the infinitive form of the verb 'to come'.
The second instance of 'to' is indicative of direction, placed immediately before a destination (in this case, the office).
They have entirely distinct meanings in the sentence.
In other words, these instances of 'to' are homophonous , but not synonymous .
English has many homophones (such as 'mean' or 'bat'), but 'to' is one of the most commonly used, and commonly confused.
ell.stackexchange.com/users/29470/S. G.
The use of "to come" is the infinitive form of "come", in English.
It's also commonly called a helping verb .
The second "to" is the preposition of the prepositional phrase, "to office".
As it stands, your sentence does make sense, and would not sound or look strange.
That being said, I would recommend adding the article adjective "the" between, "to" and "office".
The resulting sentence would be: "I am not able to come to the office".
ell.stackexchange.com/users/29513/FuriousFolder
the sentence
"i am not able to come to office" is correct.
because here both "to" have their own meaning first one for infinitives and second one for preposition and alternative for the same could be
"i am unable to reach the office"
ell.stackexchange.com/users/28891/Greesh Kumar
Although the word "to" is used twice in one sentence, it is used in two different ways.
The first use is as an "infinitive."
Specifically, "to come.
" Many other languages have infinitives, but they often have a suffix to the verb, as opposed to a separate word.
The second use is as a directional preposition, to, in the sense of "toward" or "into.
It's a confusing point in the English language, but you're not really using the same word twice.
More like two "similar"-looking words in two different ways.
ell.stackexchange.com/users/1355/Tom Au
It's correct.
Here in the US replacing the second to with into is also acceptable in conversation.
"I am not able to come into the office." or
"I am not able to come in today" If you're speaking to someone you work with, it's implied you're talking about the office.
ell.stackexchange.com/users/29516/Tim
Is this sentence correct or not?    I am not able to come to office.   Can we use "to" twice or can we write this sentence in a better way?
Too many to's? 'I am not able to come to office'
ell.stackexchange.com
<word-usage><word-choice>
ell.stackexchange.com/questions/80042
ell.stackexchange.com/users/29249/Lawakush Kurmi
This is correct and it is fine to use "to" several times in the same sentence. For example:  I want to try to learn to ride a bike. The sentence is correct, using several to's in a sentence is fine.
The sentence is correct, using several to's in a sentence is fine.