diff --git a/includes/node.inline_entity_form.inc b/includes/node.inline_entity_form.inc
index 8ae571d..c36c9b1 100644
--- a/includes/node.inline_entity_form.inc
+++ b/includes/node.inline_entity_form.inc
@@ -41,6 +41,9 @@ class NodeInlineEntityFormController extends EntityInlineEntityFormController {
     );
 
     field_attach_form('node', $node, $entity_form, $form_state, LANGUAGE_NONE);
+    foreach ($form_state['parameters']['#value'] as $key => $value) {
+      $entity_form[$key]['und']['#default_value'] = $value;
+    }
 
     return $entity_form;
   }
diff --git a/inline_entity_form.module b/inline_entity_form.module
index 7c34333..3ab554a 100644
--- a/inline_entity_form.module
+++ b/inline_entity_form.module
@@ -263,6 +263,14 @@ function inline_entity_form_field_widget_form(&$form, &$form_state, $field, $ins
     }
   }
 
+  // Pass query parameters to ief.
+  if (empty($form_state['parameters'])) {
+    $form_state['parameters'] = array(
+      '#type' => 'value',
+      '#value' => drupal_get_query_parameters(),
+    );
+  }
+
   // If the reference field must always have one entity of a specific type,
   // provide a simplified widget that shows the entity form inline, without any
   // actions. Otherwise, show the full complex widget.
