diff --git a/app/views/profiles/two_factor_auths/new.html.haml b/app/views/profiles/two_factor_auths/new.html.haml
index f0a4a34187899bf82d9ed2dde0c2d0aa52c79a3b..fe03a259a12e9367c59c0cd085d106c048ce419c 100644
--- a/app/views/profiles/two_factor_auths/new.html.haml
+++ b/app/views/profiles/two_factor_auths/new.html.haml
@@ -18,6 +18,6 @@
   .form-group
     = label_tag :pin_code, nil, class: "control-label"
     .col-sm-10
-      = text_field_tag :pin_code, nil, class: "form-control", required: true
+      = text_field_tag :pin_code, nil, class: "form-control", required: true, autofocus: true
   .form-actions
     = submit_tag 'Submit', class: 'btn btn-success'