We show that any nonabelian free group F of finite rank is homogeneous; that is for any tuplesā,b ∈ F n , having the same complete n-type, there exists an automorphism of F which sendsā tob.We further study existential types and we show that for any tuplesā,b ∈ F n , ifā andb have the same existential n-type, then eitherā has the same existential type as a power of a primitive element, or there exists an existentially closed subgroup E(ā) (resp. E(b)) of F containingā (resp.b) and an isomorphism σ :We will deal with non-free two-generated torsion-free hyperbolic groups and we show that they are ∃-homogeneous and prime. This gives, in particular, concrete examples of finitely generated groups which are prime and not QFA.